@echo off
set "yMd=%date:~,4%%date:~5,2%%date:~8,2%"
set "hms=%time:~,2%%time:~3,2%%time:~6,2%"
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqldump.exe" -uroot -p1qaz@WSX finance>D:/tonghui/finance/files/db_backup/mysql_backup_%yMd%-%hms%.sql
@echo on